<div class="modal-header">
    {{ title }} <i class="yb-icon ico-close" ng-click="cancel()"></i>
</div>
<div class="modal-body tb-wrap">
    <div class="pos-r">
        <div yb-table-fixed class="table-fixed-wrap">
            <div class="th-scroll-x">
                <table class="table border-none">
                    <thead>
                        <tr>
                            <th ng-repeat="item in fields track by $index" width="{{item.width}}">{{item.name}}</th>
                        </tr>
                    </thead>
                </table>
            </div>
            <div class="td-scroll" ng-show="dataList.length > 0">
                <table class="table border-none">
                    <tbody>
                        <tr ng-repeat="item in dataList track by $index">
                            <td class="spill-dots" width="{{f.width}}" title="{{item[f.dataField]}}" ng-repeat="f in fields track by $index">{{item[f.dataField]}}</td>
                        </tr>
                    </tbody>
                </table>
            </div>
            <div class="no-data w-full text-center p-t" ng-show="dataList.length === 0">暂时没有数据</div>
        </div>
    </div>
</div>